package com.dmpp.mes.dao;

import com.dmpp.mes.parameterInfo.Color;
import com.dmpp.mes.parameterInfo.Colour;

import java.util.List;

public interface ColourMapper {


    List<Colour> findAll(Colour colour);

    Colour findByCode(String code);

    void insert(Colour colour);

    void updateByCode(Colour colour);

    void deleteByCode(String code);

    int materialCount(String code);

    int semiProductCount(String code);

    int productCount(String code);

    void delete(String code);
}
